from app.routes.home import bp as home_bp
from app.routes.analysis import bp as analysis_bp
from app.routes.readme import bp as readme_bp

def init_app(app):
    app.register_blueprint(home_bp, url_prefix='/api')
    app.register_blueprint(analysis_bp, url_prefix='/api/analysis')
    app.register_blueprint(readme_bp, url_prefix='/api/readme')